﻿using Simple.Tools.SnowFlake;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Simple.Test.Map
/// <summary>
/// 版 本 钢易智企2.0 V 2.0.0 钢易智企2.0
/// Copyright (c) 2023 杭州钢易科技有限公司
/// 创建人：曾东明
/// 日 期：2024
/// 描 述：
/// </summary>
{
	internal class Content
	{

		public ContentTypeRead? ReadType { get; set; }
		public ContentTypeRead ReadType1 { get; set; }
		public ContentTypeRead ReadType2 { get; set; }
		public  long Id { get; set; }
		
		/// <summary>
		/// 栏目ID
		/// </summary>
		public long SubjectId { get; set; }

		/// <summary>
		///内容模型Id
		/// </summary>
		public int ModelId { get; set; }

		/// <summary>
		///组织ID
		/// </summary>
		public string OrgId { get; set; }

		/// <summary>
		///标题
		/// </summary>
		public string Title { get; set; }


		/// <summary>
		///副标题
		/// </summary>
		public string ShortTitle { get; set; }

		/// <summary>
		///发布时间
		/// </summary>
		public DateTime? ReleaseTime { get; set; }

		/// <summary>
		///下线时间
		/// </summary>
		public DateTime? OfflineTime { get; set; }


		/// <summary>
		///发布平台PC
		/// </summary>
		public bool PublishPlatformPC { get; set; }


		/// <summary>
		///发布平台Wap
		/// </summary>
		public bool PublishPlatformWap { get; set; }


		/// <summary>
		///发布平台App
		/// </summary>
		public bool PublishPlatformApp { get; set; }


		/// <summary>
		///发布平台小程序
		/// </summary>
		public bool PublishPlatformMinPro { get; set; }


		/// <summary>
		///是否内容打赏
		/// </summary>
		public bool IsContentReward { get; set; }


		/// <summary>
		///是否付费阅读
		/// </summary>
		public bool IsPayRead { get; set; }

		/// <summary>
		///开启付费阅读 价格
		/// </summary>
		public decimal Price { get; set; }

		/// <summary>
		///开启付费阅读 试读字数
		/// </summary>
		public int TryReadCount { get; set; }


		/// <summary>
		///发文机关Id
		/// </summary>
		public int ContentOfficeId { get; set; }


		/// <summary>
		///外部链接
		/// </summary>
		public string ExternaLinks { get; set; }


		/// <summary>
		///是否新窗口打开外部链接
		/// </summary>
		public bool IsOpenLink { get; set; }


		/// <summary>
		///内容密级Id
		/// </summary>
		public int ContentSecretId { get; set; }



		/// <summary>
		///上传附件
		/// </summary>
		public string Enclosure { get; set; }


		/// <summary>
		///上传附件
		/// </summary>
		public string EnclosureName { get; set; }

		/// <summary>
		///摘要
		/// </summary>
		public string Remark { get; set; }


		/// <summary>
		///音频上传
		/// </summary>
		public string Audio { get; set; }



		/// <summary>
		///视频上传
		/// </summary>
		public string Video { get; set; }



		/// <summary>
		/// 内容状态(1 草稿  2 初稿  3 流转中  4 已审核   5 已发布  6 驳回  7 下线  8 归档 )
		/// </summary>
		public int Status { get; set; }



		/// <summary>
		///内容类型Id
		/// </summary>
		public int ContentTypeId { get; set; }


		/// <summary>
		///创建方式(1:直接创建    2:投稿  3:站群推送   4:站群采集   5:复制  6:链接型引用 7:镜像型引用 8 外部采集)
		/// </summary>
		public int CreateType { get; set; }



		/// <summary>
		///访问量
		/// </summary>
		public int VisitCount { get; set; }


		/// <summary>
		///访问人数
		/// </summary>
		public int VisitPersonCount { get; set; }


		/// <summary>
		///评论数
		/// </summary>
		public int CommentCount { get; set; }

		/// <summary>
		///点赞数
		/// </summary>
		public int NOLCount { get; set; }

		/// <summary>
		///评论设置(1允许游客评论 2登录后评论  3不允许评论)
		/// </summary>
		public int CommentSet { get; set; }



		/// <summary>
		/// 封面
		/// </summary>
		public string CoverPicture { get; set; }

		/// <summary>
		/// 是否推荐
		/// </summary>
		public bool Recommend { get; set; }


		/// <summary>
		/// 排序
		/// </summary>
		public int Sort { get; set; }

		/// <summary>
		/// 文章来源
		/// </summary>
		public string Source { get; set; }

		/// <summary>
		/// 文章来源链接
		/// </summary>
		public string SourceLink { get; set; }
		/// <summary>
		/// 栏目类型
		/// </summary>
		public string SubjectType { get; set; }
		/// <summary>
		/// 展会开始时间
		/// </summary>
		public DateTime? ExhibitionTimeStart { get; set; }
		/// <summary>
		/// 展会结束时间
		/// </summary>
		public DateTime? ExhibitionTimeEnd { get; set; }

		/// <summary>
		/// 举办方
		/// </summary>
		public string Sponsor { get; set; }
		/// <summary>
		/// 举办地址
		/// </summary>
		public string ExAddr { get; set; }
		/// <summary>
		/// 省市区
		/// </summary>
		public string Area { get; set; }
		/// <summary>
		/// 栏目类型
		/// </summary>
		public string ExSource { get; set; }
		/// <summary>
		/// 新闻分类：1 企业新闻 2新品上市
		/// </summary>
		public int NewType { get; set; }
		/// <summary>
		/// 租户id
		/// </summary>
		public string TenantId { get; set; }
		/// <summary>
		/// 审核拒绝原因
		/// </summary>
		public string Reason { get; set; }
		/// <summary>
		/// 关键词
		/// </summary>
		public string KeyWords { get; set; }

		public int DisplayPoint { get; set; }

		public long RowId { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		public bool IsDeleted { get; set; }

		/// <summary>
		/// 是否删除
		/// </summary>
		public DateTime DeletedTime { get; set; }

		/// <summary>
		/// 跳转连接
		/// </summary>
		public string TargetLink { get; set; }


		/// <summary>
		/// 是否上架
		/// </summary>
		public bool IsOnShelf { get; set; }


		/// <summary>
		/// 底部营销图
		/// </summary>
		public string MarketingPicture { get; set; }

		/// <summary>
		/// 底部营销图跳转链接
		/// </summary>
		public string MarketingUrl { get; set; }

		/// <summary>
		/// 是否置顶
		/// </summary>
		public bool IsPriority { get; set; }
		/// <summary>
		///删除人
		/// </summary>
		public string DeletedBy { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedTime { get; set; }

		/// <summary>
		///更新人
		/// </summary>
		public string UpdatedBy { get; set; }

		/// <summary>
		///更新时间
		/// </summary>
		public DateTime? UpdatedTime { get; set; }

	}
}
